%MY_COMBINEDFUNCTION Generates two sin functions (f1 and f2) with different
%frequencies and phase shifts and combines both (f12)
%To combine two sine functions, we had to just apply a simple arithmetic
%addition.
function [ f1, f2, f12 ] = my_combinedFunction( x )

% Two times more frequent and Pi/2 shifted to the left
f1 = sin(x*2 + pi/2);
% Half frequency and Pi/2 shifted to the right
f2 = sin(x/2 - pi/2);

% Combined
f12 = f1+f2;

end

